import { message } from "ant-design-vue";

export function showMessage(result, prefix) {
  if (result) {
    message.success(prefix + "成功");
  } else {
    message.error(prefix + "失败");
  }
}
